package com.lyq.basic.query;

import lombok.Data;

/**
 * @Author:liangyunqian
 * @Date: 2022/12/13  22:18
 * @Description:
 */
@Data
public class BaseQuery {
    private Integer currentPage = 1;
    private Integer pageSize = 10;

    private String keyWord;

    public Integer getStart(){
        return (this.currentPage-1)*this.pageSize;
    }
}
